import request from '@/utils/request'

export default {
  getPostMes(params) {
    return request({
      url: '/post/postMes',
      method: 'get',
      params: {
        tag: params.tag,
        status: params.status,
        pageNo: params.pageNo,
        pageSize: params.pageSize
      }
    })
  },
  updateUpload(pId, num) {
    return request({
      url: '/post/updateUpload',
      method: 'put',
      params: {
        pId,
        num
      }
    })
  }
}
